package com.fingard.dsp.bank.reqrespobj.billpool.Detail;

import com.fingard.xml.XElement;

public class ReqB331DiscountApplicationDetail {
    //    支付请求码
    public String ReqSeqID;
    //    贴现申请日期 yyyy-MM-dd
    public String AppDate;
    //贴现种类 0-买断式 1-回购式
    public String DiscType;
    //    贴现利率
    public String DiscRate;
    //    贴现实付金额
    public String DiscAmt;
    //    清算标记 0-线上清算 1-线下清算
    public String PayType;
    //    转让标记 0-可再转让 1-不得转让
    public String TransFlag;
    //    银行账号
    public String DiscAcc;
    //    贴现申请人名称
    public String DiscName;
    //    贴现申请人开户行行号
    public String DiscBnkCode;
    //    贴现申请人开户行行号
    public String DiscBnkName;
    // 贴现申请账号区域
    public String DiscBnkArea;
    //    入账账号
    public String ActedAct;
    //    入账行号
    public String ActedBnkCode;
    //    入账行名
    public String ActedBnkName;
    //    入账行账号区域
    public String ActedBnkArea;
    //    备注
    public String Memo;
    //    票据金额
    public String BillAmt;
    //    票据类型 1-银承 2-商承
    public String BillType;
    // 出票日期 yyyy-MM-dd
    public String IssDat;
    //  票据到期日 yyyy-MM-dd
    public String DueDate;
    // 票据号
    public String BillNum;


    public XElement srcElement;

    public ReqB331DiscountApplicationDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        ReqSeqID = srcElement.getSingleText("ReqSeqID");
        AppDate = srcElement.getSingleText("AppDate");
        DiscType = srcElement.getSingleText("DiscType");
        DiscRate = srcElement.getSingleText("DiscRate");
        DiscAmt = srcElement.getSingleText("DiscAmt");
        PayType = srcElement.getSingleText("PayType");
        TransFlag = srcElement.getSingleText("TransFlag");
        DiscAcc = srcElement.getSingleText("DiscAcc");

        DiscName = srcElement.getSingleText("DiscName");
        DiscBnkCode = srcElement.getSingleText("DiscBnkCode");
        DiscBnkName = srcElement.getSingleText("DiscBnkName");
        DiscBnkArea = srcElement.getSingleText("DiscBnkArea");
        ActedAct = srcElement.getSingleText("ActedAct");
        ActedBnkCode = srcElement.getSingleText("ActedBnkCode");
        ActedBnkName = srcElement.getSingleText("ActedBnkName");

        ActedBnkArea = srcElement.getSingleText("ActedBnkArea");
        Memo = srcElement.getSingleText("Memo");
        BillAmt = srcElement.getSingleText("BillAmt");
        BillType = srcElement.getSingleText("BillType");
        IssDat = srcElement.getSingleText("IssDat");
        DueDate = srcElement.getSingleText("DueDate");
        BillNum = srcElement.getSingleText("BillNum");
    }
}
